package org.gitos.cloud.domain.rpc;

import com.alibaba.fastjson.JSONObject;
import org.gitos.cloud.domain.device.Device;
import org.gitos.cloud.domain.mq.MqMsg;
import org.gitos.cloud.domain.server.Rom;
import org.gitos.cloud.domain.server.User;

import java.util.HashMap;
import java.util.List;

/***
 * Created by shizhengchu on 16/1/18.
 */
public interface LogicRPC {

    /** 根据帐号uuid获取该帐号下的所有灯*/
    HashMap<String,Object> leds(String user_uuid);

   /** 保存子用户信息*/
    HashMap<String, Object> bindInuser(String user_uuid,String mobile_os,String inuser_token);

    /**灯绑定到帐号*/
    HashMap<String,Object> bindLed(String user_uuid, String mac);

    /**获取mac地址对应灯的所有rom*/
    HashMap<String,Object> roms(String mac, String version, int type);

}
